//
//  UIImage+Zoomer.h
//  Handlecar
//
//  Created by Cheney Lau on 14-5-23.
//  Copyright (c) 2014年 HanDou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Zoomer)

/**
 *  @brief  将对应的图片资源放大到全屏,单击图片缩小它。
 *
 *  @param  oldImageView    头像所在的imageView
 */
+(void)showImage:(UIImageView*)avatarImageView;

-(UIImage*)scaledToSize:(CGSize)newSize;
-(UIImage *)imageCompressForWidthWidth:(CGFloat)defineWidth;
-(UIImage *)reduceImageForpercent:(float)percent;
@end
